of

open fun of(eventName: String): EventType

Returns the EventType instance for the given eventName.

Parameters

eventName

the name of the event. For example, "dblclick", "keyup", "blur"

Throws

when eventName is empty or blank